package kosta.model.board.file;

import org.springframework.web.multipart.MultipartFile;

public class FileBoardVO {
	private int fileNo;
	private String fileTitle;
	private String fileContent;
	private String fileWriter;
	private String fileDate;
	private int fileCount;
	private MultipartFile file;
	private String fileName;

	public FileBoardVO() {
		super();
	}

	public FileBoardVO(int fileNo, String fileTitle, String fileContent,
			String fileWriter, String fileDate, int fileCount,
			MultipartFile file, String fileName) {
		super();
		this.fileNo = fileNo;
		this.fileTitle = fileTitle;
		this.fileContent = fileContent;
		this.fileWriter = fileWriter;
		this.fileDate = fileDate;
		this.fileCount = fileCount;
		this.file = file;
		this.fileName = fileName;
	}

	public int getFileNo() {
		return fileNo;
	}

	public void setFileNo(int fileNo) {
		this.fileNo = fileNo;
	}

	public String getFileTitle() {
		return fileTitle;
	}

	public void setFileTitle(String fileTitle) {
		this.fileTitle = fileTitle;
	}

	public String getFileContent() {
		return fileContent;
	}

	public void setFileContent(String fileContent) {
		this.fileContent = fileContent;
	}

	public String getFileWriter() {
		return fileWriter;
	}

	public void setFileWriter(String fileWriter) {
		this.fileWriter = fileWriter;
	}

	public String getFileDate() {
		return fileDate;
	}

	public void setFileDate(String fileDate) {
		this.fileDate = fileDate;
	}

	public int getFileCount() {
		return fileCount;
	}

	public void setFileCount(int fileCount) {
		this.fileCount = fileCount;
	}

	public MultipartFile getFile() {
		return file;
	}

	public void setFile(MultipartFile file) {
		this.file = file;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	@Override
	public String toString() {
		return "FileBoardVO [fileNo=" + fileNo + ", fileTitle=" + fileTitle
				+ ", fileContent=" + fileContent + ", fileWriter=" + fileWriter
				+ ", fileDate=" + fileDate + ", fileCount=" + fileCount
				+ ", file=" + file + ", fileName=" + fileName + "]";
	}
}
